package cn.edu.njnu.opengmpback.Modeling.dao;

import cn.edu.njnu.opengmpback.Modeling.entity.ComputeModel;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author TRY
 * @Date 2023/3/29 11:03
 * @Version 1.0
 */
@Repository
public interface ComputeModelDao extends MongoRepository<ComputeModel,String> {
    ComputeModel findByModelName(String modelName);
    Integer deleteProjectByModelName(String modelName);
    ComputeModel findByProjectId(String projectId);
}
